
<!-- Begin Left Column -->
<div id="leftcolumn">
	<h1>This is the List of Pawns</h1>
	<?php echo anchor('start/mainpage','Back to main page.').br(2); ?>

	<table border="1" style="border-collapse: collapse;">
		<thead>
			<tr>
			    <th>Pawn Id</th>
			    <th>Pawn Control Number</th>
			    <th>Update</th>
			    <th>Delete</th>
			</tr>
		</thead>
		<tbody>
	
		<?php foreach ($result as $row): ?>
		   <tr>
		    <td><?=$row->pawn_id ?></td>
		    <td><?=$row->pawn_control_number ?></td>
		    <td><?=anchor('pawns/update/'.$row->pawn_id,'update')?></td>
		    <td><?=anchor('pawns/delete/'.$row->pawn_id,'delete')?></td>
		   </tr>
		<?php endforeach; ?>
		</tbody>
	</table>
</div>
<!-- End Left Column -->


<!-- Begin Right Column -->
<div id="rightcolumn">



</div>
<!-- End Right Column -->
	
